package com.start.cms.enums;

import com.start.common.enums.StartBaseStringEnum;

public enum SpecialContentType implements StartBaseStringEnum {
    CATEGORY("栏目","special:content:type:category"),
    ARTICLE("文章","special:content:type:article");
    private final String label;
    private final String value;
    SpecialContentType(String label, String value){
        this.label=label;
        this.value=value;
    }

    /**
     * 获取泛型值
     *
     * @return
     */
    @Override
    public String getValue() {
        return value;
    }

    /**
     * 获取泛型名称
     *
     * @return
     */
    @Override
    public String getLabel() {
        return label;
    }
}
